<%@ page import="java.sql.*"%>
<%@page import="java.util.*"%>
<%@ page import="beans.*"%> 
<%@page import="java.lang.*"%> 
<jsp:useBean id="cate" scope="page" class="beans.CatalogoEnti"/>
<jsp:useBean id="cats" scope="page" class="beans.CatalogoSede"/>  
<jsp:useBean id="catente" scope="page" class="beans.CatalogoEnti"/>
<jsp:useBean id="catp" scope="page" class="beans.CatalogoPersona"/>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">



<title><%@ include file="title.jspf" %></title>
<link href="stile.css" rel="stylesheet" type="text/css">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="top">
<%@ include file="top.jspf" %>
</div>


<div id="container">
	<div id="header">
		<%@ include file="header.jspf" %>
	</div>
	<div id="page" > 
	
	<%
Ente e= new Ente();
Sede s= new Sede();
Vector<Ente> VE=new Vector<Ente>();
VE=cate.getEnti();
String idEnte=request.getParameter("id");
System.out.println(idEnte);

%>
<form method="post" action="New_ente">
<input type="hidden" name="id" value="0">
<input type="hidden" name="azione" value="aggiungi">
<%out.println("Aggiungi Ente: ");
System.out.println(idEnte);%>
						<br><br>
									
		<center><table>
		<tr><td>	Codice Struttura</td><td><input type="text" name="CodiceStruttura" style="width:400px" value="<%out.println(cate.newCodiceStruttura());%>" readonly></td></tr>
		<tr><td>	Nome</td><td><input type="text" name="Nome" style="width:400px"></td></tr>
		<tr><td>	Codice Fiscale</td><td><input type="text" name="CodiceFiscale" style="width:400px"></td></tr>
		</table></center><br>
						<center><input type="reset" value="cancella">&nbsp&nbsp<input type="submit" value="inserisci"> </center>
						</form>
				
	</div><!-- chiusura del div page-->
	
		<div id="footer">
 			<%@ include file="footer.jspf" %>
		</div>
</div><!-- chiusura del div container-->

</body>
</html>